package com.atguigu.gmall.common.constant;

/**
 * @Author:lyd
 * @Date:2023/8/21 18:29
 * @Version:1.0
 * @Description
 **/

public class RedisConst {
    public static final String SKU_INFO_CACHE_KEY = "sku:info:";
    public static final String BITMAP_SKUIDS = "bitmap:skuIds:";
    public static final long SKU_INFO_TTL = 15 * 24 * 3600 * 1000L;
    public static final String LOCK_PREFIX = "lock:";
    public static final String SKU_HOTSCORE_KEY = "sku:hotscore:";
    public static final String LOGIN_USER = "login:user:";
    public static final String CART_INFO = "cart:info:";
    public static final long CART_ITEM_MAXNUM = 5;

    public static final long CART_GOODS_ITEM_MAXNUM = 100;
    public static final String DE_REPEAT_TOKEN = "de_repeat:token:";
}
